package com.wzy;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wzy
 * @Date: 2022/3/16 16:59
 * @Description:
 */
@RestController
@RequestMapping("/test")
public class Test {

    @RequestMapping("/hello")
    public String hello(@RequestParam(value = "name") String name, @RequestParam(value = "age") String age) {
        System.out.println("Test Package");
        return name + age + "hello world!";
    }
}
